/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import java.util.ArrayList;

/**
 *
 * @author modesto
 */
public class Device {
    private Integer id;
    private String hostname;
    private String ip;
    private Integer sshPort;
    private boolean zebraEnabled;
    private boolean bgpdEnabled;
    private ArrayList<UserGroup> userGroupList;
    
    public Device() {
        this.userGroupList = new ArrayList<>();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHostname() {
        return hostname;
    }

    public void setHostname(String hostname) {
        this.hostname = hostname;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getSshPort() {
        return sshPort;
    }

    public void setSshPort(Integer sshPort) {
        this.sshPort = sshPort;
    }

    public boolean isZebraEnabled() {
        return zebraEnabled;
    }

    public void setZebraEnabled(boolean zebraEnabled) {
        this.zebraEnabled = zebraEnabled;
    }

    public boolean isBgpdEnabled() {
        return bgpdEnabled;
    }

    public void setBgpdEnabled(boolean bgpdEnabled) {
        this.bgpdEnabled = bgpdEnabled;
    }

    public ArrayList<UserGroup> getUserGroupList() {
        return userGroupList;
    }

    public void setUserGroupList(ArrayList<UserGroup> userGroupList) {
        this.userGroupList = userGroupList;
    }
    
}
